Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(participant): rate docs chatbot answers VSCODE-612 #824

Merged

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Sep 20, 2024

Description

Send rating to the docs chatbot server, when a user submits copilot feedback when using the /docs command.

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@@ -16,6 +16,7 @@ export type ParticipantResponseType =
interface Metadata {
intent: Exclude<ParticipantResponseType, 'askForNamespace'>;
chatId: string;
docsChatbotMessageId?: string;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is more than one message per chatId, and we need to return messageId with each response to know which exact message a user rates.

@alenakhineika alenakhineika marked this pull request as ready for review September 20, 2024 14:57
@alenakhineika alenakhineika merged commit b26c19f into VSCODE-528-mongodb-copilot Sep 22, 2024
3 checks passed
@alenakhineika alenakhineika deleted the VSCODE-612-rate-docs-chatbot branch September 22, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants